package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.smartfactory.sail.entity.enums.ContainerStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 容器表 盛放产品|原料|废品等物品的容器
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Container对象", description = "容器表 盛放产品|原料|废品等物品的容器")
public class Container implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "箱子名称")
    @TableField("containerName")
    private String containerName;

    @ApiModelProperty(value = "箱子的编码")
    @TableField("containerCode")
    private String containerCode;

    @ApiModelProperty(value = "二维码")
    @TableField("qrCode")
    private String qrCode;

    @ApiModelProperty(value = "箱子的描述")
    private String describe;

    @ApiModelProperty(value = "容器类型:暂时不用")
    private String type;

    @ApiModelProperty(value = "规格尺寸")
    private String specification;

    @ApiModelProperty(value = "位置信息")
    private String addr;

    @ApiModelProperty(value = "容器状态1空闲2使用中")
    private ContainerStatus status;

    @ApiModelProperty(value = "创建人")
    @TableField("createUser")
    private String createUser;

    @ApiModelProperty(value = "创建时间yyyy-MM-dd HH:mm:ss")
    @TableField("createTime")
    private String createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("updateUser")
    private String updateUser;

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    @TableField("updateTime")
    private String updateTime;


}
